{{ message|raw }}

{{ sql_query_results_table|raw }}

{{ profiling_chart|raw }}

{% if not is_procedure %}
  <div class="card mb-3 d-print-none">
    <div class="card-header">{{ t('Query results operations') }}</div>
    <div class="card-body">
      <span>
        {{ link_or_button(
          url('/view/create'),
          {'db': db, 'table': table, 'printview': '1', 'sql_query': sql_query},
          get_icon('b_view_add', t('Create view'), true),
          {'class': 'create_view ajax btn'}
        ) }}
      </span>
    </div>
  </div>
{% endif %}

{{ bookmark|raw }}

{{ include('modals/create_view.twig') }}
